/* 
 * File:   QImageSaver.h
 * Author: matt
 *
 * Created on 18 May 2010, 20:06
 */

#ifndef _QIMAGESAVER_H
#define	_QIMAGESAVER_H
#include <QWidget>
#include <QImage>
#include <QLayout>
#include <QGridLayout>
#include <QCheckBox>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <string>

using namespace std;

class QImageSaver : public QWidget {
    Q_OBJECT
public:
    QImageSaver();
    virtual ~QImageSaver();

public slots:
    void setImage(QImage image);
private:

    QLayout *layout;
    QImage image;
    QCheckBox *save_checkbox;
    bool save_enable;
    int frame_count;

private slots:
    void saveImageEnable(int passed);

};

#endif	/* _QIMAGESAVER_H */

